# coding: UTF-8
# Filename : err_tpl.py
# Company : imedia
# Author : hui
# -*-coding:utf-8 -*-


#错误模板
error_tpl = '''
<imedia>
<error>
<code>{code}</code>
<msg>{msg}</msg>
</error>
</imedia>
'''

#验证错误
validate_error = error_tpl.replace('{code}', '000').replace('{msg}', '通信验证失败')
pid_not_number = error_tpl.replace('{code}', '301').replace('{msg}', '商品标识不是有效的数字')
